package priv.books.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import priv.books.pojo.OrderDetail;
import priv.books.mapper.OrderDetailMapper;
@Service
public class OrderDetailService extends ServiceImpl<OrderDetailMapper, OrderDetail> {

    @Autowired
    private OrderDetailMapper orderDetailMapper;

    /**
     * 查询订单详情信息
     * @param orderDetail
     * @return
     */
    public List<OrderDetail> getAllInfo(OrderDetail orderDetail) {
        return orderDetailMapper.getAllInfo(orderDetail);
    }
}
